package com.zbkj.service.dao;

import com.zbkj.common.model.agent.BrandAgentItems;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 品牌商代理设置明细表 Mapper 接口
 * </p>
 *
 * @author dazongzi
 * @since 2025-07-01
 */
@Repository
public interface BrandAgentItemsDao extends BaseMapper<BrandAgentItems> {
    List<BrandAgentItems> getAgentItems(@Param(value = "brandId") Integer brandId,
                                        @Param(value = "regionType") Integer regionType,
                                        @Param(value = "provinceId") String provinceId,
                                        @Param(value = "cityId") String cityId,
                                        @Param(value = "districtId") String districtId,
                                        @Param(value = "streetId") String streetId,
                                        @Param(value = "community") String community,
                                        @Param(value = "tribe") String tribe);

}
